home *** CD-ROM | disk | FTP | other *** search
/ Teach Yourself Web Publi…sional Reference Edition) / Teach Yourself Web Publishing HTML 3.2.iso / mac / iso9660 / 3RDPARTY / HTML / HTMLnote / examples / hellocgi.c < prev    next >
Text File  |  1996-05-31  |  856b  |  26 lines

  1. /* Generated by HTML Notepad V2.0 1996 */
  2. /* To be found at www.cranial.com/software/htmlnote */
  3. /* Go on admit it, you are impressed! */
  4. void HTMLout(FILE*);
  5.  
  6. main()
  7. {  printf( "Content-type : text/html\n\n" );
  8.   HTMLout( stdout );
  9.   return 0;
  10. }
  11.  
  12. void HTMLout( FILE *fout );
  13. {
  14.   fprintf( fout, "<html>\n");
  15.   fprintf( fout, "<head>\n");
  16.   fprintf( fout, "<meta http-equiv="generator" content="HTML Notepad v2.0">\n");
  17.   fprintf( fout, "<meta http-equiv="author" content="Adam Fraser, Cranial Publishing">\n");
  18.   fprintf( fout, "<link rev="made" href="mailto:adam@cranial.demon.co.uk">\n");
  19.   fprintf( fout, "<title>Hello World</title>\n");
  20.   fprintf( fout, "</head>\n");
  21.   fprintf( fout, "<body>\n");
  22.   fprintf( fout, "<p>Hello World</p>\n");
  23.   fprintf( fout, "</body>\n");
  24.   fprintf( fout, "</html>\n");
  25.   fprintf( fout, "\n");
  26. }